package com.game.model.task;

import com.game.model.goods.Goods;
import com.game.model.role.Role;

import java.util.Map;

/**
 * @Description:
 **/
public class MainTask extends Task {
    private int useLevel;//任务等级限制

    public MainTask(int useLevel) {
        this.useLevel = useLevel;
    }
    public MainTask(){
        super();
    }
    public MainTask(int id, String name, String decription, Map<Role, int[]> fightTask, Map<Goods, Integer> goodsTask, Map<Goods, Integer> rewards, int useLevel) {
        super(id, name, decription, fightTask, goodsTask, rewards);
        this.useLevel = useLevel;
    }

    public int getUseLevel() {
        return useLevel;
    }

    public void setUseLevel(int useLevel) {
        this.useLevel = useLevel;
    }
}
